import { createRouter, createWebHistory } from 'vue-router';

import MapOverlay from '../components/MapOverlay.vue';
import ImageService from '../components/ImageService.vue';
import FGBSearchLocation from '../components/FGBSearchLocation.vue';
import VectorTile from '../components/VectorTile.vue';
import MarkerCluster from '../components/MarkerCluster.vue';
import Migration from '../components/Migration.vue';
import Measurement from '../components/Measurement.vue';
import WebPrint from '../components/WebPrint.vue';
import BestPathAnalyst from '../components/BestPathAnalyst.vue';
import BurstAnalyst from '../components/BurstAnalyst.vue';

const routes = [
  {
    path: '/',
    name: 'MapOverlay',
    component: MapOverlay,
  },
  {
    path: '/imageservice',
    name: 'ImageService',
    component: ImageService,
  },
  {
    path: '/fgbsearchlocation',
    name: 'FGBSearchLocation',
    component: FGBSearchLocation,
  },
  {
    path: '/vectortile',
    name: 'VectorTile',
    component: VectorTile,
  },
  {
    path: '/markercluster',
    name: 'MarkerCluster',
    component: MarkerCluster,
  },
  {
    path: '/migration',
    name: 'Migration',
    component: Migration,
  },
  {
    path: '/measurement',
    name: 'Measurement',
    component: Measurement,
  },
  {
    path: '/webprint',
    name: 'WebPrint',
    component: WebPrint,
  },
  {
    path: '/bestpathanalyst',
    name: 'BestPathAnalyst',
    component: BestPathAnalyst,
  },
  {
    path: '/burstanalyst',
    name: 'BurstAnalyst',
    component: BurstAnalyst,
  },
];

const router = createRouter({
  history: createWebHistory(),
  routes,
});

export default router;
